import request from "@/utils/request"

//请求1: 获取品牌列表（分页）
export const reqBrandListByPage = (page=1,limit=5)=>{
    return request.get(`admin/product/baseTrademark/${page}/${limit}`)
}
//请求2: 添加品牌
export const reqAddBrand = (data)=>{
    return request.post(`/admin/product/baseTrademark/save`,data)
}
//请求3:更新指定品牌(即修改品牌)    
export const reqUpdateBrand = (data)=>{
    return request.put(`/admin/product/baseTrademark/update`,data)
}
//请求4:删除指定品牌
export const reqDeleteBrand = (id)=>{
    return request.delete(`/admin/product/baseTrademark/remove/${id}`)
}